package patterns.template;

/**
 * Created by thinkpad on 16-12-10.
 * 演示调用模板
 */
public class TemplatePatternDemo {
    public static void main(String[] args){
        Game game = new Cricket();
        game.play();

        game = new Football();
        game.play();
    }
}
